package com.eco.fanliapp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eco.fanliapp.entity.SyUserFootprint;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 足迹表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-08-21
 */
public interface SyUserFootprintMapper extends BaseMapper<SyUserFootprint> {

    SyUserFootprint selectFootPrintById(@Param("userId") Long userId, @Param("itemId")Long itemId);

    int updateFootPrintById(@Param("tableId")Integer tableId, @Param("belongDate")Date belongDate, @Param("updateTime")Date updateTime);

    int insertFootprintList(List<SyUserFootprint> footprintList);

    int updateFootPrintByIdList(List<Integer> footIdList);
}
